import { request } from "./reqcomment"

export function commentall() {
    return request({
        method: 'Get',
      url: '/Selectall',
    })
  }
  export function add(params) {
    return request({
      method: 'POST',
      url: '/Create',
      params   
    })
  }

  export function select(id) {
    return request({
      method: 'POST',
      url: '/Select',
      params:{
      id
    }
    })
  }
  export function update(  params   ) {
    return request({
      method: 'POST',
      url: '/Edit',
      params   
    })
  }
  export function del(id) {
    return request({
      method: 'POST',
      url: '/Delete',
      params:{
        id
      }
    })
  }
  export function blogcomm(id) {
    return request({
      method: 'POST',
      url: '/Blogcomm',
      params:{
        id
      }
    })
  }